Copies the styles in the collection to a specified array of named styles.
Syntax
Parameters
- array
- One-dimensional array into which the elements from ICollection are copied; the array indexing must be zero-based.
- index
- Zero-based index in the array at which to paste the styles
Example
C# | Copy Code |
---|
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
FarPoint.Web.Spread.NamedStyle[] style = new FarPoint.Web.Spread.NamedStyle[dsc.Count];
dsc.CopyTo((Array)style,0);
|
Visual Basic | Copy Code |
---|
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection()
Dim style(dsc.Count()) As FarPoint.Web.Spread.NamedStyle
dsc.CopyTo(CType(style, Array), 0) |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also